setAllowFreeFormInput
Specifies whether the user can provide arbitrary text values.
Return
this object for method chaining
Parameters
allowFreeFormTextInput
The default is true
. If you specify false
, you must either provide a non-null and non-empty array to setChoices, or enable a data result in setAllowDataType
. Otherwise an IllegalArgumentException is thrown